package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 基础信息空间位置对象 t_base_space_location
 * 
 * @author ruoyi
 * @date 2023-03-29
 */
public class BaseSpaceLocation extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 学校ID */
    @Excel(name = "学校ID")
    private String schoolId;

    /** 位置名称 */
    @Excel(name = "位置名称")
    private String locationName;

    /** 层级名称 如 3栋-4楼-101室 */
    @Excel(name = "层级名称 如 3栋-4楼-101室")
    private String levelName;

    /** 层级 */
    private String level;

    /** 上级位置id */
    private Integer locationPid;

    /** 状态 0-无效 1-有效 */
    @Excel(name = "状态 0-无效 1-有效")
    private String status;

    /** 空间平面图 */
    private String spaceImg;

    /** 修改时间 */
    private Date modifyTime;

    /** 修改人 */
    private String modifyBy;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setSchoolId(String schoolId) 
    {
        this.schoolId = schoolId;
    }

    public String getSchoolId() 
    {
        return schoolId;
    }
    public void setLocationName(String locationName) 
    {
        this.locationName = locationName;
    }

    public String getLocationName() 
    {
        return locationName;
    }
    public void setLevelName(String levelName) 
    {
        this.levelName = levelName;
    }

    public String getLevelName() 
    {
        return levelName;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setLocationPid(Integer locationPid) 
    {
        this.locationPid = locationPid;
    }

    public Integer getLocationPid() 
    {
        return locationPid;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setSpaceImg(String spaceImg) 
    {
        this.spaceImg = spaceImg;
    }

    public String getSpaceImg() 
    {
        return spaceImg;
    }
    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }
    public void setModifyBy(String modifyBy) 
    {
        this.modifyBy = modifyBy;
    }

    public String getModifyBy() 
    {
        return modifyBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolId", getSchoolId())
            .append("locationName", getLocationName())
            .append("levelName", getLevelName())
            .append("level", getLevel())
            .append("locationPid", getLocationPid())
            .append("status", getStatus())
            .append("spaceImg", getSpaceImg())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("modifyTime", getModifyTime())
            .append("modifyBy", getModifyBy())
            .toString();
    }
}
